package com.weds.edwx.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weds.core.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


public class SHAttenceParamEntity extends BaseEntity implements Serializable {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(required = false, dataType = "Date", example = "2020-01-01", value = "查询开始时间")
    private Date start;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(required = false, dataType = "Date", example = "2020-01-02", value = "查询结束时间")
    private Date end;

    @ApiModelProperty(required = true, dataType = "string", example = "20000001", value = "人员")
    private String data;

    @ApiModelProperty(required = true, dataType = "string", example = "2000001", value = "部门序号")
    private String depSerial;

    @ApiModelProperty(required = false, dataType = "int", example = "0", value = "0全勤 1迟到 2早退 3请假 4旷工 5加班")
    private int flag;

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getDepSerial() {
        return depSerial;
    }

    public void setDepSerial(String depSerial) {
        this.depSerial = depSerial;
    }
}
